package com.wang.tool.monitor.log;

import java.io.Serializable;
import java.util.Map;

/**
 * 日志信息
 *
 * @author wangshaopeng
 */
public class SimpleLog implements Serializable {

    /**
     * 消息
     */
    private String content;

    /**
     * 附件信息
     */
    private Map<String, Object> attachment;

    public SimpleLog() {
    }

    public SimpleLog(String content, Map<String, Object> attachment) {
        this.content = content;
        this.attachment = attachment;
    }

    public SimpleLog(String content) {
        this.content = content;
    }

    public SimpleLog(Map<String, Object> attachment) {
        this.attachment = attachment;
    }


    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Map<String, Object> getAttachment() {
        return attachment;
    }

    public void setAttachment(Map<String, Object> attachment) {
        this.attachment = attachment;
    }

}
